﻿<%@ Page Title="" Language="C#" MasterPageFile="~/OuterInfo/OuterInfo.Master" AutoEventWireup="true" CodeBehind="OuterInfoQueryList.aspx.cs" Inherits="QuaManSys.OuterInfo.OuterInfoQueryList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<link rel="Stylesheet" href="../Css/QuaInfoPro.css" type="text/Css" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphInner" runat="server">
   <div>
        <div>
            <center>
                <asp:Label ID="outerQuery" runat="server" Text="外部质量信息查询" Style="font-size: 20px"></asp:Label>
            </center>
        </div>
        <fieldset>
            <legend>请输入需要查询信息：</legend>
            <table class="QueryClass">
                <tr>
                <td>
                    <asp:Label ID="lblInfoId" runat="server" Text="外部质量信息表编号："></asp:Label>
                    <asp:TextBox ID="txtInfoId" runat="server" AutoPostBack="true"></asp:TextBox>
                </td>
                <td>
                    <asp:Label ID="lblProNo" runat="server" Text="工程编号：" ></asp:Label>
                    <asp:DropDownList ID="ddlProNo" runat="server" AutoPostBack="True"></asp:DropDownList>
                </td>
                <td>
                    <asp:Label ID="lblMacType" runat="server" Text="机型："></asp:Label>
                    <asp:DropDownList ID="ddlMacType" runat="server" AutoPostBack="True"></asp:DropDownList>
                </td>
                </tr>
                <tr>
                    <td>    
                        <asp:Label ID="lblMacNos" runat="server" Text="机号："></asp:Label>
                        <asp:DropDownList ID="ddlMacNos" runat="server" AutoPostBack="True"></asp:DropDownList>
                    </td>
                    <td>
                        <asp:Label ID="lblFactory" runat="server" Text="生产厂家："></asp:Label>
                        <asp:DropDownList ID="ddlFactory" runat="server" AutoPostBack="True">
                        </asp:DropDownList>
                    </td>
                    <td>
                        <label for="lblImpLev" class="sixteen">
                            重要级别</label>
                        <asp:DropDownList ID="ddlImpLev" runat="server" CssClass="sixteen" AutoPostBack="True">
                            <asp:ListItem Text="----请选择----" Value=""></asp:ListItem>
                            <asp:ListItem>高</asp:ListItem>
                            <asp:ListItem>中</asp:ListItem>
                            <asp:ListItem>低</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblInfoState" runat="server" Text="信息表状态"></asp:Label>
                        <asp:DropDownList ID="ddlInfoState" runat="server" CssClass="sixteen" AutoPostBack="True">
                            <asp:ListItem Text="----请选择----" Value=""></asp:ListItem>
                            <asp:ListItem>未处理（需跟踪处理）</asp:ListItem>
                            <asp:ListItem>已处理（需后继关注）</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td>
                        <asp:Label ID="lblCustomCo" runat="server" Text="顾客公司："></asp:Label>
                        <asp:DropDownList ID="ddlCustomCo" runat="server" AutoPostBack="True">
                        </asp:DropDownList>
                         
                    </td>
                    <td>
                        <asp:Label ID="lblFbdept" runat="server" Text="反馈单位："></asp:Label>
                        <asp:DropDownList ID="ddlLblFbdept" runat="server" AutoPostBack="True">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td><asp:Button ID="btnSearchAll" runat="server" Text="总表查询" onclick="btnSearchAll_Click" /></td>
                    <td><asp:Button ID="Button1" runat="server" Text="分表查询" onclick="btnSearchByDept_Click" /></td>
                </tr>
            </table> 
        </fieldset>
        <div>
            查询到<asp:Label ID="lblCount" runat="server" Text="0"></asp:Label>条记录。
        </div>
        <fieldset>
            <legend>查询记录显示</legend>
            <asp:GridView ID="GridView1" runat="server" EmptyDataText="没有记录！" AutoGenerateColumns="false " EnableViewState="False">
                <Columns>
                    <asp:BoundField DataField="qualityInfoId" HeaderText="外部质量信息编号" />
                    <asp:BoundField DataField="projectNo" HeaderText="工程编号" />
                   <%-- <asp:BoundField DataField="qualityInfoId" HeaderText="机型" />
                    <asp:BoundField DataField="qualityInfoId" HeaderText="机号" />--%>
                    <asp:BoundField DataField="producer" HeaderText="生产厂家" />
                                     
                    <asp:BoundField DataField="levelOfImportance" HeaderText="重要级别" />
                    <asp:BoundField DataField="registerName" HeaderText="登记人" />
                    <asp:HyperLinkField HeaderText="详细信息" Text="详细信息" DataNavigateUrlFields="qualityInfoId"
                        DataNavigateUrlFormatString="OuterInfoQueryDetails.aspx?id={0}" />
                    
                </Columns>
            </asp:GridView>
        </fieldset>
    </div>
</asp:Content>
